#
# src/lomb/CMakeLists.txt
#

set(lomb_SRC
    src/avevar.c
    src/nrutil.c
    src/period.c
)

add_library(_lomb STATIC ${lomb_SRC})
add_definitions(-std=c99)
set_target_properties(_lomb PROPERTIES 
    LINKER_LANGUAGE C
)

add_executable(lomb src/main.c)
target_link_libraries(lomb _lomb m)
